:root {
  @for $i from 1 through 50 {
    --z-size-#{$i}: #{$i}px;
    .a-space-mb-#{$i} {
      margin-bottom: var(--z-size-#{$i});
    }
    .a-space-ml-#{$i} {
      margin-left: var(--z-size-#{$i});
    }
    .a-space-mr-#{$i} {
      margin-right: var(--z-size-#{$i});
    }
    .a-space-mt-#{$i} {
      margin-top: var(--z-size-#{$i});
    }
    .a-space-mh-#{$i} {
      margin-left: var(--z-size-#{$i});
      margin-right: var(--z-size-#{$i});
    }
    .a-space-mv-#{$i} {
      margin-top: var(--z-size-#{$i});
      margin-bottom: var(--z-size-#{$i});
    }
    .a-space-pt-#{$i} {
      padding-top: var(--z-size-#{$i});
    }
    .a-space-pb-#{$i} {
      padding-bottom: var(--z-size-#{$i});
    }
    .a-space-pv-#{$i} {
      padding-top: var(--z-size-#{$i});
      padding-bottom: var(--z-size-#{$i});
    }
    .a-space-pl-#{$i} {
      padding-left: var(--z-size-#{$i});
    }
    .a-space-pr-#{$i} {
      padding-right: var(--z-size-#{$i});
    }
    .a-space-ph-#{$i} {
      padding-left: var(--z-size-#{$i});
      padding-right: var(--z-size-#{$i});
    }
  }
}

$primary-color: #506dff;

:root {
  --el-color-white: #ffffff;
  --el-color-black: #000000;
  //--el-color-primary: #409eff;
  --el-color-primary: #{$primary-color};
  --el-color-primary-rgb: 64, 158, 255;
  --el-color-success-rgb: 103, 194, 58;
  --el-color-warning-rgb: 230, 162, 60;
  --el-color-danger-rgb: 245, 108, 108;
  --el-color-error-rgb: 245, 108, 108;
  --el-color-info-rgb: 144, 147, 153;
  --el-color-primary-light-1: #53a8ff;
  --el-color-primary-light-2: #66b1ff;
  --el-color-primary-light-3: #79bbff;
  --el-color-primary-light-4: #8cc5ff;
  --el-color-primary-light-5: #a0cfff;
  --el-color-primary-light-6: #b3d8ff;
  --el-color-primary-light-7: #c6e2ff;
  --el-color-primary-light-8: #d9ecff;
  --el-color-primary-light-9: #ecf5ff;
  --el-color-primary-dark-2: #337ecc;
  --el-color-success: #67c23a;
  --el-color-success-light-3: #95d475;
  --el-color-success-light-5: #b3e19d;
  --el-color-success-light-7: #d1edc4;
  --el-color-success-light-8: #e1f3d8;
  --el-color-success-light-9: #f0f9eb;
  --el-color-success-dark-2: #529b2e;
  --el-color-warning: #e6a23c;
  --el-color-warning-light-3: #eebe77;
  --el-color-warning-light-5: #f3d19e;
  --el-color-warning-light-7: #f8e3c5;
  --el-color-warning-light-8: #faecd8;
  --el-color-warning-light-9: #fdf6ec;
  --el-color-warning-dark-2: #b88230;
  --el-color-danger: #f56c6c;
  --el-color-danger-light-3: #f89898;
  --el-color-danger-light-5: #fab6b6;
  --el-color-danger-light-7: #fcd3d3;
  --el-color-danger-light-8: #fde2e2;
  --el-color-danger-light-9: #fef0f0;
  --el-color-danger-dark-2: #c45656;
  --el-color-error: #f56c6c;
  --el-color-error-light-3: #f89898;
  --el-color-error-light-5: #fab6b6;
  --el-color-error-light-7: #fcd3d3;
  --el-color-error-light-8: #fde2e2;
  --el-color-error-light-9: #fef0f0;
  --el-color-error-dark-2: #c45656;
  --el-color-info: #909399;
  --el-color-info-light-3: #b1b3b8;
  --el-color-info-light-5: #c8c9cc;
  --el-color-info-light-7: #dedfe0;
  --el-color-info-light-8: #e9e9eb;
  --el-color-info-light-9: #f4f4f5;
  --el-color-info-dark-2: #73767a;
  --el-bg-color: #f5f7fa;
  --el-border-width-base: 1px;
  --el-border-style-base: solid;
  --el-border-color-hover: var(--el-text-color-placeholder);
  --el-border-base: var(--el-border-width-base) var(--el-border-style-base) var(--el-border-color-base);
  --el-svg-monochrome-grey: #dcdde0;
  --el-fill-base: var(--el-color-white);
  --el-font-size-extra-large: 20px;
  --el-font-size-large: 18px;
  --el-font-size-medium: 16px;
  --el-font-size-base: 14px;
  --el-font-size-small: 13px;
  --el-font-size-extra-small: 12px;
  --el-font-weight-primary: 500;
  --el-font-line-height-primary: 24px;
  --el-text-color-disabled-base: #bbb;
  --el-index-normal: 1;
  --el-index-top: 1000;
  --el-index-popper: 2000;
  --el-text-color-primary: #303133;
  --el-text-color-regular: #606266;
  --el-text-color-secondary: #909399;
  --el-text-color-placeholder: #c0c4cc;
  --el-border-color-base: #dcdfe6;
  --el-border-color-light: #e4e7ed;
  --el-border-color-lighter: #ebeef5;
  --el-border-color-extra-light: #f2f6fc;
  --el-border-radius-base: 4px;
  --el-border-radius-small: 2px;
  --el-border-radius-round: 20px;
  --el-border-radius-circle: 100%;
  --el-box-shadow-base: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
  --el-box-shadow-light: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  --el-disabled-bg-color: var(--el-bg-color);
  --el-disabled-text-color: var(--el-text-color-placeholder);
  --el-disabled-border-color: var(--el-border-color-light);
  --el-transition-duration: 0.3s;
  --el-transition-duration-fast: 0.2s;
  --el-transition-function-ease-in-out-bezier: cubic-bezier(0.645, 0.045, 0.355, 1);
  --el-transition-function-fast-bezier: cubic-bezier(0.23, 1, 0.32, 1);
  --el-transition-all: all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);
  --el-transition-fade: opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);
  --el-transition-md-fade: transform var(--el-transition-duration) var(--el-transition-function-fast-bezier), opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);
  --el-transition-fade-linear: opacity var(--el-transition-duration-fast) linear;
  --el-transition-border: border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);
  --el-transition-box-shadow: box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);
  --el-transition-color: color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);
}

.el-button--primary {
  background-color: var(--el-color-primary);
  border-color: var(--el-color-primary);
}

.el-button--primary:focus, .el-button--primary:hover {
  background: lighten($primary-color, 10%);
  border-color: lighten($primary-color, 10%);
  color: #FFF;
}

.el-button--text {
  color: var(--el-color-primary);
}

.el-select-dropdown__item.selected {
  color: var(--el-color-primary);
}

.el-input.is-active .el-input__inner, .el-input__inner:focus {
  border-color: var(--el-color-primary);
}

.el-pagination.is-background .el-pager li:not(.disabled):hover {
  color: var(--el-color-primary);
}

.el-pagination__sizes .el-input .el-input__inner:hover {
  border-color: var(--el-color-primary);
}

.z-p-5 {
  padding: 5px;
}

.z-p-10 {
  padding: 10px;
}

.z-p-15 {
  padding: 15px;
}

.z-p-20 {
  padding: 20px;
}

.z-m-10 {
  margin: 10px;
}

.z-m-5 {
  margin: 5px;
}

.z-m-15 {
  margin: 15px;
}

.z-m-20 {
  margin: 20px;
}

.z-m-t-10 {
  margin-top: 10px;
}

.z-m-b-10 {
  margin-bottom: 10px;
}

.z-flex-end {
  display: flex;
  justify-content: flex-end;
}

.z-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.z-flex-align-center {
  display: flex;
  align-items: center;
}

.z-flex-between {
  display: flex;
  justify-content: space-between;
}

.z-flex-around {
  display: flex;
  justify-content: space-around;
}

.z-a-c {
  text-align: center;
}

.z-line-1 {
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

